CONFIG      += plugin debug_and_release
TARGET      = $$qtLibraryTarget(qipeditorplugin)
TEMPLATE    = lib

HEADERS     = qipeditorplugin.h \
    qipeditor.h
SOURCES     = qipeditorplugin.cpp \
    qipeditor.cpp
RESOURCES   = icons.qrc
LIBS        += -L.# -lqipeditor

DEFINES += EXPORT_LIBRARY

greaterThan(QT_MAJOR_VERSION, 4) {
    QT += designer
} else {
    CONFIG += designer
}

target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS    += target

FORMS += \
    qipeditor.ui

DESTDIR = $$[QT_INSTALL_PLUGINS]/designer
